﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EventConsoleApplication1
{
    public class OrderEventArgs : EventArgs
    {
        #region Public Properties
        /// <summary>
        /// Gets the <see cref="Apworks.Config.IConfigSource"/> instance that was used
        /// for configuring the application.
        /// </summary>
        public string OrderNo { get; private set; }
       
        #endregion

        #region Ctor
        /// <summary>
        /// Initializes a new instance of <c>AppInitEventArgs</c> class.
        /// </summary>
        public OrderEventArgs()
            : this("")
        { }

        /// <summary>
        /// Initializes a new instance of <c>AppInitEventArgs</c> class.
        /// </summary>
        /// <param name="configSource">The <see cref="Apworks.Config.IConfigSource"/> instance that was used
        /// for configuring the application.</param>
        /// <param name="objectContainer">The <see cref="Apworks.IObjectContainer"/> instance with which the application
        /// registers or resolves the object dependencies.</param>
        /// <param name="order"></param>
        public OrderEventArgs(string order)
        {
            this.OrderNo = order;
        }

        #endregion
    }
}
